package values.effects
{
import flash.utils.Dictionary;

/**
 * EffectSettingValue
 * @author jliang
 *
 */
public class EffectSettingValue
{
	private static var _effects:Dictionary;  /* EffectValue */
	
	public function get effects():Dictionary
	{
		return _effects;
	}
	
	[Data(type="mapping", 
		   mapping="effects", 
		   ref="values.effects.EffectValue",
		   way="one_to_more",
		   object="flash.utils.Dictionary",
           key="@key")]
	public function set effects(value:Dictionary):void
	{
		_effects = value;
	}
	
	public static function get effectList():Dictionary
	{
		return _effects;
	}
	
	public static function getByKey(key:String):EffectValue
	{
		return effectList[key];
	}
}
}